#include "ProcessInfo.h"

ProcessInfo::ProcessInfo(map <int,FileDescEntry*>* procMap, string *currPath):
	processMap(procMap), currentProcessPath(currPath) {}

ProcessInfo::ProcessInfo(const ProcessInfo& other) {
	processMap = new map<int,FileDescEntry*> (*(other.getProcessMap()));
	currentProcessPath = new string (*(other.getCurrPath()));
}

map <int,FileDescEntry*>* ProcessInfo::getProcessMap() const {
	return processMap;
}

string *ProcessInfo::getCurrPath() const  {
	return currentProcessPath;
}

/*
void ProcessInfo::setProcessMap(map <int,FileDescEntry*>* newMap) {
	processMap = newMap;
}

void ProcessInfo::setCurrPath(string *newPath) {
	currentProcessPath = newPath;
}
*/


